package com.shycloud.mido.music.feign;

import com.shycloud.mido.common.core.util.R;
import com.shycloud.mido.member.api.vo.AppAppShoppingCartVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("shycloud-member-biz")
public interface MemberFeignService {

	@GetMapping("/member/appShopping/getCartByCollection")
	List<AppAppShoppingCartVO> getCartByCollection(@PathVariable("memberId") String memberId,
												   @PathVariable("collectionId") Integer collectionId);

	@GetMapping("/courseware/getGroupList")
	R getGroupList();

}
